mathematics contest perimeter